package com.data.monitoring.model.DTO;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

@Data
public class FolderInitDTO {
    @NotBlank
    private String folderPath;

    @Min(30)
    private Integer checkInterval = 300;

    @Min(1)
    @Max(5)
    private Integer maxDepth = 1;
}